﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using SQLite.CodeFirst;

namespace WeManageService
{
    public class Wish
    {
        [Key, Column(Order = 1)]
        public int WishID { get; set; }
 
        public string Name { get; set; }
        public string Details { get; set; }
        public int RequiredScore { get; set; }

        public string UserName { get; set; }

        public Wish() { }
        public Wish(int wid,string name,string details,int req,string username)
        {
            WishID = wid;
            Name = name;
            Details = details;
            RequiredScore = req;
            UserName = username;
        }

		public Wish(Wish wish)
		{
			WishID = wish.WishID;
			Name = wish.Name;
			Details = wish.Details;
			RequiredScore = wish.RequiredScore;
			UserName = wish.UserName;
		}
	}
}
